<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>AdminLTE 2 | Starter</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
 <include file="Public:head" />

<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
 <header class="main-header">

    <!-- Logo -->
    <a href="index2.html" class="logo">
      <!-- mini logo for sidebar mini 50x50 pixels -->
      <span class="logo-mini">约健</span>
      <!-- logo for regular state and mobile devices -->
      <span class="logo-lg"><h4 style=" margin-top:15px;">约健俱乐部管理系统</h4></span>
    </a>

    <!-- Header Navbar -->
    <nav class="navbar navbar-static-top" role="navigation">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>
      <!-- Navbar Right Menu -->
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <!-- Messages: style can be found in dropdown.less-->
          <li class="dropdown messages-menu">
            <!-- Menu toggle button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-envelope-o"></i>
              <span class="label label-success">4</span>
            </a>
          </li>
          <!-- /.messages-menu -->

          <!-- Notifications Menu -->
          <li class="dropdown notifications-menu">
            <!-- Menu toggle button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-bell-o"></i>
              <span class="label label-warning">10</span>
            </a>
          </li>
          <!-- Tasks Menu email -->
          <li class="dropdown tasks-menu">
            <!-- Menu Toggle Button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-flag-o"></i>
              <span class="label label-danger">9</span>
            </a>
          </li>
          <!-- User Account Menu -->
          <li class="dropdown user user-menu">
            <!-- Menu Toggle Button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <!-- The user image in the navbar-->
              <img src="__PUBLIC__/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
              <!-- hidden-xs hides the username on small devices so only the image appears. -->
              <span class="hidden-xs">Alexander Pierce</span>
            </a>
            <ul class="dropdown-menu">
              <!-- The user image in the menu -->
              <li class="user-header">
                <img src="__PUBLIC__/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">

                <p>
                  Alexander Pierce - Web Developer
                  <small>Member since Nov. 2012</small>
                </p>
              </li>
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a href="#" class="btn btn-default btn-flat">Profile</a>
                </div>
                <div class="pull-right">
                  <a href="#" class="btn btn-default btn-flat">Sign out</a>
                </div>
              </li>
            </ul>
          </li>
          <!-- Control Sidebar Toggle Button -->
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>

<!--end of top-->
<include file="Public:sider" />

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        活动信息管理
        <small>修改页</small>
      </h1>
    </section>

    <!-- Main content -->
    <section class="content container-fluid">
<!-- <form class="form-horizontal"  method="post" action="__URL__/updatepicture" enctype="multipart/form-data">
   <h3 style="margin-left: 600px"><dd>晒图编号：<input type="text" name="pid" value="{$picture1.pid}"></input></dd>
   <dd>晒图人id：<input type="text" name="uid" value="{$picture1.uid}"></dd>
                                    <dd>晒图标题：<input type="text" name="ptitle" value="{$picture1.ptitle}"></dd>
                                    <dd>文字内容：<input type="text" name="pcontent" value="{$picture1.pcontent}"></dd>
                                    <dd>发布日期：<input type="text" name="pdate" value="{$picture1.pdate}" disabled=""></dd>  
                                    <div>
                                    <br></br>  
                      <img src="__PUBLIC__/Uploads/picture/{$picture1.ppic}" width="180px"  alt="未上传图片" style="margin-left: 120px"> 
                      <input type="file" name="ppic"> 
                    </div>
                    <br></br>                                    <button class="btn btn-primary" type="submit" style="margin-left: 130px ">保存修改信息</button>
                                    </form> -->


<!-- <h3 style="margin-left: 600px">比赛编号：{$matchdetail.matchid}
                                    <dd>比赛名称：{$matchdetail.maname}</dd>
                                    <dd>比赛信息详情：{$matchdetail.mainfo}</dd>
                                    <dd>比赛开始时间：{$matchdetail.mastartdate}</dd>
                                    <dd>比赛结束时间：{$matchdetail.maenddate}</dd>
                                    <dd>咨询电话：{$matchdetail.maphonenum}</dd>
                                    <dd>主办方：{$matchdetail.masponsor}</dd>
                                    <dd>图片：<img src="__PUBLIC__/Uploads/picture/{$matchdetail.mapost}" width="180px" ></dd></h3> -->
<div style=" width: 800px; height: 460px;  margin: 15px;">
  
  <form method="post"  action="__URL__/updateactivity" class="form-horizontal" enctype="multipart/form-data">
  <div class="form-group">
    <label class="col-sm-2 control-label">活动编号
</label>
    <div class="col-sm-10">
      <input type="text" class="form-control"  value="{$activitydetail.aid}" name="aid">
    </div>
  </div>
  <div class="form-group">
    <label  class="col-sm-2 control-label">活动名称</label>
    <div class="col-sm-10">
    <input type="text" class="form-control" name="aname"  value="{$activitydetail.aname}"></div>
  </div>
  <div class="form-group">
    <label  class="col-sm-2 control-label">活动信息详情</label>
    <div class="col-sm-10">
    <input type="text" class="form-control" name="ainfo"  value="{$activitydetail.ainfo}"  ></div>
  </div>
  <div class="form-group">
    <label  class="col-sm-2 control-label">活动开始时间</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="astartdate"  value="{$activitydetail.astartdate}">
    </div>
  </div>
  
  <div class="form-group">
    <label  class="col-sm-2 control-label">活动结束时间</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="aenddate" value="{$activitydetail.aenddate}" >
      </div>
      </div>

      <div class="form-group">
    <label  class="col-sm-2 control-label">咨询电话</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="aphonenum"  value="{$activitydetail.aphonenum}">
    </div>
    </div>
     <div class="form-group">
    <label  class="col-sm-2 control-label">活动地址</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="aaddress"  value="{$activitydetail.aaddress}">
    </div>
  </div>  
                      <img src="__PUBLIC__/Uploads/picture/{$activitydetail.apost}" width="100px"  alt="未上传图片" style="margin-left: 150px"> 
                      <input type="file" name="apost"> 
    </div>
 
 
   <div class="container" style="clear:both;">
                <button style=" margin-left: 80px;"  type="submit" class="btn btn-primary" >
                提交更改</button>

  </div>
  

</form>

  

   </div>

    </section>




    

    <!-- /.content -->
  </div>
     


</body>
</html>
